{{ define "user/roleList.html"}}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>角色列表</title>
    <style>
        table {
            width: 100%;
            border-collapse: collapse;
        }

        th,
        td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }

        th {
            background-color: #f2f2f2;
        }
    </style>
</head>

<body>
<h1>角色列表</h1>
<table>
    <thead>
    <tr>
        <th>角色名称</th>
        <th>角色描述</th>
        <th>角色状态</th>

    </tr>
    </thead>
    <tbody>
    {{range .data}}
    <tr>
        <td>{{.RoleName}}</td>
        <td>{{.Description}}</td>
        <td>{{.Status}}</td>
    </tr>
    {{end}}
    </tbody>
</table>
</body>

</html>
{{ end }}